package com.anysoft.service;

import com.anysoft.model.Goods;
import com.anysoft.model.Goods4JSR303;

import java.util.ArrayList;

public interface GoodsService {
    boolean save(Goods g);

    boolean save(Goods4JSR303 g);

    ArrayList<Goods> getGoods();

    ArrayList<Goods4JSR303> getGoods4jsr303();
}
